﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MainContactSubmit.ascx.cs" Inherits="UserControls_MainContactSubmit" %>

<%--divInformation--%>
<div runat="server" id="divInformation" class="table"> 
    <div class="row">
        <div class="header">Name (First Name | Last Name)</div>
    </div>
    <div class="row">
        <div class="content" style="height: 24px">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtFirstName"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
            ErrorMessage="(*)" ControlToValidate="txtFirstName" ForeColor="Red" 
            SetFocusOnError="True"></asp:RequiredFieldValidator>
        </div>
        <div class="content" style="height: 24px">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtLastName"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
            ErrorMessage="(*)" ControlToValidate="txtLastName" ForeColor="Red" 
            SetFocusOnError="True"></asp:RequiredFieldValidator>
        </div>
        <div class="row" style="font-size:x-small">
            <div class="header"><%--First Name--%></div>
            <div class="header"><%--Last Name--%></div>
        </div>
    </div>
    <div class="row">
        <div class="header">Email</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtEmail"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ErrorMessage="(*)" ControlToValidate="txtEmail" ForeColor="Red" 
                    SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ErrorMessage="Bad email address" ControlToValidate="txtEmail" ForeColor="Red" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                Display="Dynamic"></asp:RegularExpressionValidator>
        </div>
    </div>
    <div class="row">
        <div class="header">Phone</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtPhone"></asp:TextBox>
        </div>
    </div>
</div>

<%--divContact--%>
<div runat="server" id="divContact" class="table">
    <div class="row">
        <div class="header">Company</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtCompany"></asp:TextBox>
        </div>
    </div>
    <div class="row">
        <div class="header">Address</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtStreet1"></asp:TextBox>
        </div>
    </div>
    <div class="row">
        <div class="header">Street</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtStreet2"></asp:TextBox>
        </div>
    </div>
    <div class="row">
        <div class="header">City</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtCity"></asp:TextBox>
        </div>
    </div>
    <div class="row">
        <div class="header">State</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:DropDownList runat="server" CssClass="textbox" ID="ddlState" DataTextField="Name" DataValueField="Code"></asp:DropDownList>
        </div>
    </div>
    <div class="row">
        <div class="header">Zip Code</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtZipCode"></asp:TextBox>
        </div>
    </div>
    <div class="row">
        <div class="header">Country</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:DropDownList runat="server" CssClass="textbox" ID="ddlCountry" DataTextField="Name" DataValueField="Code"></asp:DropDownList>
        </div>
    </div>
</div>
